package com.chagee.channel.api.bo.lark;

import com.chagee.channel.api.enums.LarkApprovalStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 审批实例状态改变回调参数
 *
 * @author: chang.jiawei
 * @date: 2024/01/18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApprovalStatusChangeCallbackBO implements Serializable {

    private static final long serialVersionUID = 7572389507846226037L;
    private String appId;

    private String tenantKey;

    @ApiModelProperty("审批实例状态变更：approval_instance")
    private String type;

    private String approvalCode;

    private String instanceCode;

    private LarkApprovalStatusEnum status;

    private LocalDateTime operateTime;

    private String uuid;

}
